package com.uaf.vxalipaybill.provider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.uaf.log.MySlf4j;

/**
 * @filename VxAlipayBillApplication.java
 * @description 微信支付宝账单启动类
 * @author 马庆智
 * @date 2021/9/15 11:06
 */
@SpringBootApplication
@EnableApolloConfig
@EnableScheduling
@ServletComponentScan(basePackages = { "com.uaf.sleuth" })
@ComponentScan(basePackages = { "com.uaf.vxalipaybill.provider", "com.uaf.security", "com.uaf.sleuth",
		"com.uaf.redis" })
@MapperScan(basePackages = {"com.uaf.vxalipaybill.provider.dao"})
public class VxAlipayBillApplication implements CommandLineRunner {

	public static void main(String[] args) {
		SpringApplication.run(VxAlipayBillApplication.class, args);
	}

	@Override
	public void run(String... args) {
		MySlf4j.textInfo("微信支付宝账单-已启动!");
	}

}
